package com.tcp2.msg.rpc;

import com.yaxon.vndp.dms.Message;

import java.util.Date;

/**
 *
 * Author: 杨俊辉
 * Time: 2014-10-10 17:09
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 */

/**
 * 报警预警
 */
public class Dn_9402 implements Message {
    @Override
    public String id() {
        return "9402";
    }

    private String lpn;
    private Byte col;
    private Byte warnSrc;
    private Integer warnType;
    private Date warnTime;
    private String warnContent;

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public Byte getCol() {
        return col;
    }

    public void setCol(Byte col) {
        this.col = col;
    }

    public Byte getWarnSrc() {
        return warnSrc;
    }

    public void setWarnSrc(Byte warnSrc) {
        this.warnSrc = warnSrc;
    }

    public Integer getWarnType() {
        return warnType;
    }

    public void setWarnType(Integer warnType) {
        this.warnType = warnType;
    }

    public Date getWarnTime() {
        return warnTime;
    }

    public void setWarnTime(Date warnTime) {
        this.warnTime = warnTime;
    }

    public String getWarnContent() {
        return warnContent;
    }

    public void setWarnContent(String warnContent) {
        this.warnContent = warnContent;
    }

    @Override
    public String toString() {
        return "Dn_9402{" +
                "lpn='" + lpn + '\'' +
                ", col=" + col +
                ", warnSrc=" + warnSrc +
                ", warnType=" + warnType +
                ", warnTime=" + warnTime +
                ", warnContent='" + warnContent + '\'' +
                '}';
    }
}
